<div class="view"<?php if($block_add%3 == 0) echo ' style="margin-right:0px;"'; ?>>
    <?php echo CHtml::link(CHtml::image($data->thumbnail,$data->name),Yii::app()->createUrl('/artist/view',array('id'=>$data->id)),array('title'=>$data->name)); ?>
    <div class="hover_info">
        <h4><a href="<?php echo Yii::app()->createUrl('/artist/view',array('id'=>$data->id)) ?>"><?php echo CHtml::encode($data->name); ?></a></h4>
        <p>
        <?php
        echo Tool::character_limiter(Tool::delete_htm($data->io), 80);
        ?>
        </p>
    </div>
    <?php
    if(!Yii::app()->user->isGuest){
        echo '<div class="admin_tool">';
        echo CHtml::link(CHtml::image(Yii::app()->baseUrl.'/assets/e7209743/gridview/delete.png','Delete',array('title'=>'Delete')),Yii::app()->createUrl('/artist/homeClear',array('id'=>$home_id)));
        echo '</div>';
    }
    ?>
</div>